package com.mhc.suzuki.service;

import com.mhc.suzuki.dal.model.GuaranteeDO;
import com.mhc.suzuki.exception.SuzukiCommonException;
import com.mhc.suzuki.vo.GuaranteeDetailVO;

/**
 * 担保管理
 * Created by kanon on 2017/9/22.
 */
public interface GuaranteeService {

    /**
     * 新增担保记录
     *
     * @param guaranteeDO
     * @return
     * @throws SuzukiCommonException
     */
    Boolean addGuarantee(GuaranteeDO guaranteeDO) throws SuzukiCommonException;

    /**
     * 获取担保详情
     *
     * @param idCard
     * @param orderNo
     * @return
     * @throws SuzukiCommonException
     */
    GuaranteeDetailVO getGuaranteeDetailInfo(String idCard, String orderNo) throws SuzukiCommonException;


}
